import React, { FC } from "react";
import { Tabs } from "antd";
import { FileTextOutlined, SettingOutlined } from "@ant-design/icons";
import ComponentProps from "./CompoentProps";
const RightPanel: FC = () => {
  const tabItems = [
    {
      key: "props",
      label: (
        <span>
          <FileTextOutlined />
          属性
        </span>
      ),
      children: <ComponentProps></ComponentProps>,
    },
    {
      key: "setting",
      label: (
        <span>
          <SettingOutlined />
          页面设置
        </span>
      ),
      children: <div>页面设置</div>,
    },
  ];
  return <Tabs defaultActiveKey="props" items={tabItems}></Tabs>;
};
export default RightPanel;
